package com.qf.day01boot02mp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// 因为Mapper只写了接口，所以需要给它创建子类去，这样代码的意思就是给Mapper接口创建子类
@MapperScan(basePackages = "com.qf.day01boot02mp.mapper")
public class Day01Boot02MpApplication {

    public static void main(String[] args) {
        SpringApplication.run(Day01Boot02MpApplication.class, args);
    }

}
